package academic.ui.client.widgets.tools;

import com.google.gwt.core.client.JavaScriptObject;

public class Overlay {

	public Overlay(){}

	public JavaScriptObject overlay;
	
	public static native void initLink(String selector) /*-{
		$wnd.$(document).ready(function(){	
			$wnd.$(selector).overlay({effect:'apple', closeOnClick:false, load:true,
			mask: '#000'
		});
		});
	}-*/;

	public static native void hideLink(String selector) /*-{
		$wnd.$(selector).overlay().close();
	}-*/;
	
	
}
